import gradio as gr

def hello(input):
    return "Hello:"+ input

demo = gr.Interface(fn=hello,inputs="text",outputs="text")
demo.launch()